//
//  ThingsvideoTableViewCell.m
//  糗事百科
//
//  Created by lanou on 16/5/28.
//  Copyright © 2016年 奚超明. All rights reserved.
//

#import "ThingsvideoTableViewCell.h"
#import "ThingsListModel.h"
@implementation ThingsvideoTableViewCell

-(void)setVideomodel:(ThingsListModel *)videomodel
{
    _videomodel = videomodel;
    _videoTitle.text = videomodel.user.login;
    [self.videoImageView sd_setImageWithURL:[NSURL URLWithString:videomodel.pic_url]];
}
- (void)setFrame:(CGRect)frame
{
    frame.origin.x = 10;
    frame.origin.y += 10;
    frame.size.width -= 2 * 10;
    frame.size.height -= 10;
    [super setFrame:frame];
    
}
@end
